package com.zhengyuedong.bbs.core.service;

import java.util.List;

import com.zhengyuedong.bbs.core.dao.TopicDAO;
import com.zhengyuedong.bbs.core.entity.Topic;

public class TopicService {
	TopicDAO topicDAO;

	public List<Topic> findTopicByPage(final int rowStart, final int pageSize) {
		return topicDAO.findTopicByPage(rowStart, pageSize);
	}

	public TopicDAO getTopicDAO() {
		return topicDAO;
	}

	public void setTopicDAO(TopicDAO topicDAO) {
		this.topicDAO = topicDAO;
	}

}
